﻿namespace OT.HikiSecureCenterApis.Service.Resources.Res
{
    public class ResPerson
    {
        #region 属性
        /// <summary>
        /// 人员ID
        /// </summary>
        public string personId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string personName { get; set; }
        /// <summary>
        /// 性别，1：男；2：女；0：未知
        /// </summary>
        public int gender { get; set; }
        /// <summary>
        /// 所属组织路径，以@符号分割，包含本组织，例如@root000000@
        /// </summary>
        public string orgPath { get; set; }
        /// <summary>
        /// 所属组织路径名称，以/分隔
        /// </summary>
        public string orgPathName { get; set; }
        /// <summary>
        /// 所属组织唯一标识码
        /// </summary>
        public string orgIndexCode { get; set; }
        /// <summary>
        /// 证件类型，参考附录A 数据字典
        /// 111:身份证,414:护照,113:户口簿,335:驾驶证,131:工作证,133:学生证,990:其他
        /// </summary>
        public int certificateType { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string certificateNo { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string jobNo { get; set; }
        /// <summary>
        /// 出生日期，例"1990-01-01"
        /// </summary>
        public string birthday { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string phoneNo { get; set; }
        /// <summary>
        /// 联系地址
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 学历，详见附录A.12 学历类型
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#d4011531
        /// 1	小学 2	初中 3	中技 4	高中 5	中专 6	大专 7	本科 8	硕士 9	博士 10	其他
        /// </summary>
        public int education { get; set; }
        /// <summary>
        /// 人员姓氏
        /// </summary>
        public string lastName { get; set; }
        /// <summary>
        /// 人员名称
        /// </summary>
        public string givenName { get; set; }
        /// <summary>
        /// 人脸图片Url
        /// </summary>
        public int age { get; set; }
        /// <summary>
        /// 职业
        /// </summary>
        public string job { get; set; }
        /// <summary>
        /// 职工性质
        /// </summary>
        public string staffProperty { get; set; }
        /// <summary>
        /// 工作单位
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public string employeePost { get; set; }
        /// <summary>
        /// 员工编号
        /// </summary>
        public string employeeNumber { get; set; }
        /// <summary>
        /// 岗位类别
        /// </summary>
        public string postType { get; set; }
        /// <summary>
        /// 身份类型
        /// </summary>
        public string identityType { get; set; }
        /// <summary>
        /// 国籍
        /// </summary>
        public string nationality { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nation { get; set; }
        /// <summary>
        /// 籍贯
        /// </summary>
        public string birthplace { get; set; }
        /// <summary>
        /// 户籍
        /// </summary>
        public string censusRegister { get; set; }
        /// <summary>
        /// 婚姻状况，详见附录A.58 婚姻状况
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#e912f9b9
        /// 未婚	1已婚	2 丧偶	3 离婚	4 未说明的婚姻状态 	5
        /// </summary>
        public int marriaged { get; set; }
        /// <summary>
        /// 政治面貌
        /// </summary>
        public string politicalStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string religion { get; set; }
        /// <summary>
        /// 房间号
        /// </summary>
        public string roomNum { get; set; }
        /// <summary>
        /// 与户主关系
        /// </summary>
        public string houseHolderRel { get; set; }
        /// <summary>
        /// 学号
        /// </summary>
        public string studentId { get; set; }
        /// <summary>
        /// 学生入学时间，例"1990-01-01"
        /// </summary>
        public string stuStartTime { get; set; }
        /// <summary>
        /// 学生毕业时间，例"1990-01-01"
        /// </summary>
        public string stuEndTime { get; set; }
        /// <summary>
        /// 年级
        /// </summary>
        public string stuGrade { get; set; }
        /// <summary>
        /// 班级
        /// </summary>
        public string stuClass { get; set; }
        /// <summary>
        /// 学院
        /// </summary>
        public string academy { get; set; }
        /// <summary>
        /// 学生专业
        /// </summary>
        public string profession { get; set; }
        /// <summary>
        /// 宿舍楼
        /// </summary>
        public string dormitory { get; set; }
        /// <summary>
        /// 是否住校，1:是；2:否
        /// </summary>
        public int lodge { get; set; }
        /// <summary>
        /// 人员描述
        /// </summary>
        public string personDesc { get; set; }
        /// <summary>
        /// 同步标志类型，详见附录A.77 同步标志类型
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#d491c9b0
        /// 不需要同步的数据	-1 同步完成	0 要向核心服务添加	1 需要修改核心服务的数据	2 需要删除核心服务的数据	3
        /// </summary>
        public int syncFlag { get; set; }
        /// <summary>
        /// 拼音
        /// </summary>
        public string pinyin { get; set; }
        /// <summary>
        /// 发证机构
        /// </summary>
        public string certIssuer { get; set; }
        /// <summary>
        /// 发证地址
        /// </summary>
        public string certAddr { get; set; }
        /// <summary>
        /// 证件有效期
        /// </summary>
        public string certExpireTime { get; set; }
        /// <summary>
        /// 	状态小于0则代表资源已被删除
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 创建时间，IOS8601格式，参考附录B ISO8601时间格式说明
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 更新时间，IOS8601格式，参考附录B ISO8601时间格式说明
        /// </summary>
        public string updateTime { get; set; }
        #endregion
    }

}
